package com.jfok.server.hibernate.gpgy;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

import com.jfok.server.common.annotation.FieldDefine;
import com.jfok.server.common.annotation.TableDefine;


@Entity  
@TableDefine(group = "辅助办公", id = 8081, title = "物品领用")  
public class Consumptions {
	    @Id  
	    @FieldDefine(title = "编码", number = 10, fieldGroup = "基本信息")  
	    @Column(nullable = false, length = 10)  
	    private Integer tf_consumptionsId;  
	  


		public Integer getTf_consumptionsId() {
			return tf_consumptionsId;
		}

		public void setTf_consumptionsId(Integer tf_consumptionsId) {
			this.tf_consumptionsId = tf_consumptionsId;
		}

		public String getTf_unit() {
			return tf_unit;
		}

		public void setTf_unit(String tf_unit) {
			this.tf_unit = tf_unit;
		}

		public String getTf_recipients() {
			return tf_recipients;
		}

		public void setTf_recipients(String tf_recipients) {
			this.tf_recipients = tf_recipients;
		}

		public Date getTf_date() {
			return tf_date;
		}

		public void setTf_date(Date tf_date) {
			this.tf_date = tf_date;
		}

		public String getTf_name() {
			return tf_name;
		}

		public void setTf_name(String tf_name) {
			this.tf_name = tf_name;
		}

		public int getTf_count() {
			return tf_count;
		}

		public void setTf_count(int tf_count) {
			this.tf_count = tf_count;
		}


		public String getTf_remark() {
			return tf_remark;
		}

		public void setTf_remark(String tf_remark) {
			this.tf_remark = tf_remark;
		}

		@FieldDefine(title = "名称", number = 20, nameField = true, fieldGroup = "基本信息")  
	    private String tf_name;  
	  
	    @FieldDefine(title = "数量", number = 30, fieldGroup = "基本信息")  
	    private int tf_count;  
	  
	      
	    @FieldDefine(title = "备注", number = 40, fieldGroup = "基本信息")  
	    private String tf_remark;  
	    
	    @FieldDefine(title = "单位", number = 50, fieldGroup = "基本信息")  
	    private String tf_unit;  
	      
	    @FieldDefine(title = "领用人", number = 60, fieldGroup = "基本信息")  
	    private String tf_recipients;  
	    
	    @FieldDefine(title = "日期", number = 70, fieldGroup = "基本信息")  
	    private Date tf_date;  
	    
		public Consumptions(){  
	          
	    }  
}
